<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2020/9/5
 * Time: 9:12
 */
namespace app\service\view;

use app\common\BaseResult;
use app\common\enum\ErrorCodeEnum;
use app\common\enum\MessageEnum;
use app\facade\model\Category;
use think\Console;
use think\facade\Request;

class CategoryService
{
    public function getAll(array $where, string $field = "*", array $order){
        $res = Category::all($where, $field, $order);
        return $res;
    }
    
}